
import BasicLayout from '@/layouts/basic-layout';

const meta = {
    auth: true
};

const pre = 'home-robot-';

export default {
    path: '/home/robot',
    name: 'home-robot',
    redirect: {
        name: `${pre}list`
    },
    meta,
    component: BasicLayout,
    children: [
        {
            path: 'chatRecord',
            name: `${pre}chatRecord`,
            meta: {
                ...meta,
                keepAlive: true,
                title: '聊天记录'
            },
            component: () => import('@/pages/home/robot/chatRecord')
        },        
        {
            path: 'call',
            name: `${pre}call`,
            meta: {
                ...meta,
                keepAlive: true,
                title: '通话录音'
            },
            component: () => import('@/pages/home/robot/call')
        },
       
        {
            path: 'message',
            name: `${pre}message`,
            meta: {
                ...meta,
                // keepAlive: true,
                title: '短信记录'
            },
            component: () => import('@/pages/home/robot/message')
        }
    ]
};
